//
//  NSObject+Common.h
//  百车易车险
//
//  Created bychenxu on 14-7-31.
//  Copyright (c) 2014年 chenxu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSObject (Common)


#pragma mark Tip M
- (NSString *)tipFromError:(NSError *)error;
- (void)showError:(NSError *)error;
- (void)showHudTipStr:(NSString *)tipStr;
- (void)showStatusBarQueryStr:(NSString *)tipStr;
- (void)showStatusBarSuccessStr:(NSString *)tipStr;
- (void)showStatusBarError:(NSError *)error;
- (void)showStatusBarProgress:(CGFloat)progress;
- (void)hideStatusBarProgress;

+ (NSDictionary*)loadPlist:(NSString*)filename;

- (NSString*)filePath:(NSString*)fileName;
-(NSString*)DataTOjsonString;
@end
